<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: D:/doxy/PublicAPI/ATECCore/ATMeshfuncs.h 源文件</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="../../dir_52a01df1794e5beec01860bdd05aea48.html">PublicAPI</a></li><li class="navelem"><a class="el" href="../../dir_b036ea399c584d2b2a32165352c4a594.html">ATECCore</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">ATMeshfuncs.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../d7/ddf/_a_t_meshfuncs_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a4e6e76d7167b5132b487c7db0a2fb80a">   24</a></span>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt <a class="code hl_function" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a4e6e76d7167b5132b487c7db0a2fb80a">atMesh_getPolyfaceArrays</a></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>(</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    ATEC_NAMESPACE_NAME::ATDataCore::ATObjectDescrCP        pMeshHeadED,</div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    ATEC_NAMESPACE_NAME::xvector&lt;int&gt;           *pIndices,</div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;     *pXYZ,</div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    <span class="keywordtype">int</span>                     *pNumIndexPerFace,</div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>    <span class="keywordtype">int</span>                     *pNumFace</div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>);</div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span> </div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"><a class="line" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a3f6b37d776983737d679b57a92f57818">   48</a></span>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt <a class="code hl_function" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a3f6b37d776983737d679b57a92f57818">atMesh_intersectRayWithMeshTriangles</a></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>(</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;   *pIntersectionXYZArray,</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;   *pIntersectionBarycentricArray,</div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    ATEC_NAMESPACE_NAME::xvector&lt;double&gt;     *pIntersectionParameterArray,</div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span>    ATEC_NAMESPACE_NAME::xvector&lt;int&gt;        *pIntersectionFaceReadArray,</div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>    ATEC_NAMESPACE_NAME::ATDataCore::ATObjectDescrP     pMeshHead,</div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    ATEC_NAMESPACE_NAME::XPoint3dCP         pOrigin,</div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    ATEC_NAMESPACE_NAME::XPoint3dCP         pDirection</div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>);</div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span> </div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"><a class="line" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a784bf0e194b68d1999d03dda90cb2b58">   76</a></span>ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt <a class="code hl_function" href="../../d7/ddf/_a_t_meshfuncs_8h.html#a784bf0e194b68d1999d03dda90cb2b58">atMesh_intersectRayWithMeshTrianglesFromPolyfaceArrays</a></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>(</div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;     *pIntersectionXYZArray,</div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;     *pBarycentricArray,</div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    ATEC_NAMESPACE_NAME::xvector&lt;double&gt;            *pParameterArray,</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span>    ATEC_NAMESPACE_NAME::xvector&lt;int&gt;           *pFaceReadArray,</div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    ATEC_NAMESPACE_NAME::XPoint3dCP             pOrigin,</div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    ATEC_NAMESPACE_NAME::XPoint3dCP             pDirection,</div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    <span class="keyword">const</span>   ATEC_NAMESPACE_NAME::xvector&lt;ATEC_NAMESPACE_NAME::XPoint3d&gt;     *pXYZArray,</div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>    <span class="keyword">const</span>   ATEC_NAMESPACE_NAME::xvector&lt;int&gt;           *pIndexArray,</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    <span class="keywordtype">int</span>                     numPerFace</div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>);</div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span> </div>
<div class="ttc" id="a_a_t_meshfuncs_8h_html_a3f6b37d776983737d679b57a92f57818"><div class="ttname"><a href="../../d7/ddf/_a_t_meshfuncs_8h.html#a3f6b37d776983737d679b57a92f57818">atMesh_intersectRayWithMeshTriangles</a></div><div class="ttdeci">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atMesh_intersectRayWithMeshTriangles(ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pIntersectionXYZArray, ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pIntersectionBarycentricArray, ATEC_NAMESPACE_NAME::xvector&lt; double &gt; *pIntersectionParameterArray, ATEC_NAMESPACE_NAME::xvector&lt; int &gt; *pIntersectionFaceReadArray, ATEC_NAMESPACE_NAME::ATDataCore::ATObjectDescrP pMeshHead, ATEC_NAMESPACE_NAME::XPoint3dCP pOrigin, ATEC_NAMESPACE_NAME::XPoint3dCP pDirection)</div><div class="ttdoc">计算网格中三角面与射线的所有交点</div></div>
<div class="ttc" id="a_a_t_meshfuncs_8h_html_a4e6e76d7167b5132b487c7db0a2fb80a"><div class="ttname"><a href="../../d7/ddf/_a_t_meshfuncs_8h.html#a4e6e76d7167b5132b487c7db0a2fb80a">atMesh_getPolyfaceArrays</a></div><div class="ttdeci">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atMesh_getPolyfaceArrays(ATEC_NAMESPACE_NAME::ATDataCore::ATObjectDescrCP pMeshHeadED, ATEC_NAMESPACE_NAME::xvector&lt; int &gt; *pIndices, ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pXYZ, int *pNumIndexPerFace, int *pNumFace)</div><div class="ttdoc">读取网格的索引和坐标数组；输出可能为NULL</div></div>
<div class="ttc" id="a_a_t_meshfuncs_8h_html_a784bf0e194b68d1999d03dda90cb2b58"><div class="ttname"><a href="../../d7/ddf/_a_t_meshfuncs_8h.html#a784bf0e194b68d1999d03dda90cb2b58">atMesh_intersectRayWithMeshTrianglesFromPolyfaceArrays</a></div><div class="ttdeci">ATECCORE_EXPORTED ATEC_NAMESPACE_NAME::StatusInt atMesh_intersectRayWithMeshTrianglesFromPolyfaceArrays(ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pIntersectionXYZArray, ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pBarycentricArray, ATEC_NAMESPACE_NAME::xvector&lt; double &gt; *pParameterArray, ATEC_NAMESPACE_NAME::xvector&lt; int &gt; *pFaceReadArray, ATEC_NAMESPACE_NAME::XPoint3dCP pOrigin, ATEC_NAMESPACE_NAME::XPoint3dCP pDirection, const ATEC_NAMESPACE_NAME::xvector&lt; ATEC_NAMESPACE_NAME::XPoint3d &gt; *pXYZArray, const ATEC_NAMESPACE_NAME::xvector&lt; int &gt; *pIndexArray, int numPerFace)</div><div class="ttdoc">计算网格中三角面与直线的所有交点</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
